package org.glxy.shop.dto;

public class InventoryOperationRequest {
    private int operationType; // 1:入库, -1:出库
    private Long quantity;
    private String remark; // 可选

    // Constructors
    public InventoryOperationRequest() {}

    public InventoryOperationRequest(int operationType, Long quantity, String remark) {
        this.operationType = operationType;
        this.quantity = quantity;
        this.remark = remark;
    }

    // Getters and setters
    public int getOperationType() {
        return operationType;
    }

    public void setOperationType(int operationType) {
        this.operationType = operationType;
    }

    public Long getQuantity() {
        return quantity;
    }

    public void setQuantity(Long quantity) {
        this.quantity = quantity;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}